package demo.entity;

public class Task {
    private Integer kid;
    private User teacher;
    private Clz clz;
    private Course course;

    public Task() {
        teacher=new User();
        clz=new Clz();
        course=new Course();
    }

    public Integer getKid() {
        return kid;
    }

    public User getTeacher() {
        return teacher;
    }

    public Clz getClz() {
        return clz;
    }

    public Course getCourse() {
        return course;
    }

    public void setKid(Integer kid) {
        this.kid = kid;
    }

    public void setTeacher(User teacher) {
        this.teacher = teacher;
    }

    public void setClz(Clz clz) {
        this.clz = clz;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "Task{" +
                "kid=" + kid +
                ", teacher=" + teacher +
                ", clz=" + clz +
                ", course=" + course +
                '}';
    }
}
